package cn.fjsay.java.demo5;

public class Father {
    String name;

    public Father(){
        System.out.println("父类的无参构造方法");
    }
    public Father(String name){
        this.name=name;
    }
}
